package com.dfrobot.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "_Product")
public class Product {
    @Id
    @Column(name = "ProductID")
    private Integer productid;

    @Column(name = "Name")
    private String name;

    @Column(name = "Store")
    private Integer store;

    @Column(name = "CostPrice")
    private BigDecimal costprice;

    @Column(name = "SalePrice")
    private BigDecimal saleprice;

    @Column(name = "MarketPrice")
    private BigDecimal marketprice;

    @Column(name = "Memo")
    private String memo;

    @Column(name = "Code")
    private String code;

    @Column(name = "OpEmployeeID")
    private Integer opemployeeid;

    @Column(name = "UseIntegralRule")
    private Integer useintegralrule;

    @Column(name = "DeductionIntegralRule")
    private Integer deductionintegralrule;

    @Column(name = "Unit")
    private String unit;

    @Column(name = "Weight")
    private String weight;

    @Column(name = "return_integral_rule")
    private Integer returnIntegralRule;

    @Column(name = "ReturnIntegralRuleValue")
    private Integer returnintegralrulevalue;

    @Column(name = "ReturnIntegralValue")
    private Integer returnintegralvalue;

    @Column(name = "IsAudit")
    private Boolean isaudit;

    @Column(name = "IsHaveInvoice")
    private Boolean ishaveinvoice;

    @Column(name = "CreateTime")
    private Date createtime;

    @Column(name = "UpdateTime")
    private Date updatetime;

    @Column(name = "brand_id")
    private Long brandId;

    /**
     * @return ProductID
     */
    public Integer getProductid() {
        return productid;
    }

    /**
     * @param productid
     */
    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    /**
     * @return Name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return Store
     */
    public Integer getStore() {
        return store;
    }

    /**
     * @param store
     */
    public void setStore(Integer store) {
        this.store = store;
    }

    /**
     * @return CostPrice
     */
    public BigDecimal getCostprice() {
        return costprice;
    }

    /**
     * @param costprice
     */
    public void setCostprice(BigDecimal costprice) {
        this.costprice = costprice;
    }

    /**
     * @return SalePrice
     */
    public BigDecimal getSaleprice() {
        return saleprice;
    }

    /**
     * @param saleprice
     */
    public void setSaleprice(BigDecimal saleprice) {
        this.saleprice = saleprice;
    }

    /**
     * @return MarketPrice
     */
    public BigDecimal getMarketprice() {
        return marketprice;
    }

    /**
     * @param marketprice
     */
    public void setMarketprice(BigDecimal marketprice) {
        this.marketprice = marketprice;
    }

    /**
     * @return Memo
     */
    public String getMemo() {
        return memo;
    }

    /**
     * @param memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * @return Code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return OpEmployeeID
     */
    public Integer getOpemployeeid() {
        return opemployeeid;
    }

    /**
     * @param opemployeeid
     */
    public void setOpemployeeid(Integer opemployeeid) {
        this.opemployeeid = opemployeeid;
    }

    /**
     * @return UseIntegralRule
     */
    public Integer getUseintegralrule() {
        return useintegralrule;
    }

    /**
     * @param useintegralrule
     */
    public void setUseintegralrule(Integer useintegralrule) {
        this.useintegralrule = useintegralrule;
    }

    /**
     * @return DeductionIntegralRule
     */
    public Integer getDeductionintegralrule() {
        return deductionintegralrule;
    }

    /**
     * @param deductionintegralrule
     */
    public void setDeductionintegralrule(Integer deductionintegralrule) {
        this.deductionintegralrule = deductionintegralrule;
    }

    /**
     * @return Unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * @param unit
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * @return Weight
     */
    public String getWeight() {
        return weight;
    }

    /**
     * @param weight
     */
    public void setWeight(String weight) {
        this.weight = weight;
    }

    /**
     * @return return_integral_rule
     */
    public Integer getReturnIntegralRule() {
        return returnIntegralRule;
    }

    /**
     * @param returnIntegralRule
     */
    public void setReturnIntegralRule(Integer returnIntegralRule) {
        this.returnIntegralRule = returnIntegralRule;
    }

    /**
     * @return ReturnIntegralRuleValue
     */
    public Integer getReturnintegralrulevalue() {
        return returnintegralrulevalue;
    }

    /**
     * @param returnintegralrulevalue
     */
    public void setReturnintegralrulevalue(Integer returnintegralrulevalue) {
        this.returnintegralrulevalue = returnintegralrulevalue;
    }

    /**
     * @return ReturnIntegralValue
     */
    public Integer getReturnintegralvalue() {
        return returnintegralvalue;
    }

    /**
     * @param returnintegralvalue
     */
    public void setReturnintegralvalue(Integer returnintegralvalue) {
        this.returnintegralvalue = returnintegralvalue;
    }

    /**
     * @return IsAudit
     */
    public Boolean getIsaudit() {
        return isaudit;
    }

    /**
     * @param isaudit
     */
    public void setIsaudit(Boolean isaudit) {
        this.isaudit = isaudit;
    }

    /**
     * @return IsHaveInvoice
     */
    public Boolean getIshaveinvoice() {
        return ishaveinvoice;
    }

    /**
     * @param ishaveinvoice
     */
    public void setIshaveinvoice(Boolean ishaveinvoice) {
        this.ishaveinvoice = ishaveinvoice;
    }

    /**
     * @return CreateTime
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * @param createtime
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * @return UpdateTime
     */
    public Date getUpdatetime() {
        return updatetime;
    }

    /**
     * @param updatetime
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    /**
     * @return brand_id
     */
    public Long getBrandId() {
        return brandId;
    }

    /**
     * @param brandId
     */
    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }
}